package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.AssuranceType;

public interface AssuranceTypeMapper {

	public int deleteAssuranceTypeById(long id);

	public AssuranceType selectAssuranceTypeById(long id);

	public List<AssuranceType> selectAssuranceTypeByMap(Map<String,Object> map);

	public List<AssuranceType> selectAssuranceType(AssuranceType assuranceType);

	public List<AssuranceType> selectAllAssuranceType();

	public int insertAssuranceType(AssuranceType assuranceType);

	public int updateAssuranceType(AssuranceType assuranceType);

	public int deleteAssuranceType(AssuranceType assuranceType);

	public int updateAssuranceTypeByMap(Map<String,Object> map);

	public int deleteAssuranceTypeByMap(Map<String,Object> map);
	public int getAllAssuranceTypeCounts();
	public int getAssuranceTypeCounts(AssuranceType assuranceType);
	public int getAssuranceTypeCountsByMap(Map<String,Object> map);
}
